package com.example.lenovo.login;

import android.content.Intent;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class ActivityJump extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_jump_face);
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                Intent mainIntent = new Intent(ActivityJump.this,LoginFaceActivity.class);
                ActivityJump.this.startActivity(mainIntent);
                ActivityJump.this.finish();
                overridePendingTransition(R.layout.activity_jump_face,R.layout.activity_login_face);
            }
        }, 3000);
    }
}
